package com.red.star.wechat.data.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Author: Yenan
 * @Description:
 * @Date: Created in 11:47 2018/1/31
 */
@Data
@Table(name = "t_mall")
public class Mall extends BaseEntity {

    private String mallName;

    private String picture;

    /**
     * 营业时间
     */
    private String openHours;

    private String address;

    /**
     * 大区
     */
    private String bRegionCode;

    private String mRegionCode;

    private String sRegionCode;

    private String mobile;

    private String province;

    private String provinceCode;

    private String city;

    private String country;

    private String mallType;

    private String mallCode;

    private String psCode;

    private String omsCode;

    private String status;

    private String provinceId;

    private String cityId;

    private String cityCode;

    private String countryId;

    private String area;

    private Integer floorNum;

    private String mallId;

    private String bRegionName;

    private String sRegionName;

    private String mallTypeName;

    private String countryCode;

    /**
     * 经度
     */
    private Double longitude;

    private Double latitude;

    @Transient
    private Double distance;

    /**
     * 0  停用  1  启用
     */
    private Integer realStatus;

    @Transient
    @ApiModelProperty(value = "活动关联商场:  1商场  2大区  3 中区  4小区  5城市  6全部")
    private Integer type;

    @Transient
    @ApiModelProperty(value = "商场code（type：1有效）大区code（type：2有效）  中区code（type：3有效）  小区code（type：4有效）  城市名（type：5有效）   type:6为空")
    private String typeValue;

}
